package com.tpyule.tpclass.entity.pojo;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * @author zzz
 * @version 1.0
 * @date 2020/5/24 14:16
 */
public class AD {
    private int id;
    private String image;
    private String url;
    private String title;
    private String time;

    public AD() {
        this.time = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(new Date());
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }
}
